Modeling Crosscutting Concerns with Roles
نویسندگان
چکیده
Modularization allows the development of independent modules and their reuse. However a single decomposition strategy cannot neatly capture all the systems concerns. Thus some concerns are spread over several modules – the crosscutting concerns. To cope with this we need to have other class composition techniques than those available in traditional Object Oriented programming languages. One of such compositions is roles. If roles are used to compose classes and if a role models a crosscutting concern, then the concern is limited to the role and not spread over several classes. To validate this approach we conducted a case study. In the case study crosscutting concerns were identified in a system using a clone detection tool and roles were developed to model those crosscutting concerns. Results show that this approach reduces significantly the spreading of crosscutting concerns code. Roles, Crosscuting concerns, Code clones
منابع مشابه
GPRN: A Hierarchical Framework for Aspect-oriented Requirement Modeling
One of the most important characteristics in aspect-oriented requirement modeling is effectively dealing with crosscutting concerns. This paper presents a hierarchical GPRN framework for aspect-oriented requirement modeling. The framework breaks requirements into three layers including goal layer, process layer and requirement net layer. Goal layer defines crosscutting concerns from goals, proc...
متن کاملA Practical Use Case Modeling Approach to Specify Crosscutting Concerns: Industrial Applications
Use case diagrams together with use case specifications are commonly used to specify system requirements. To reduce imprecision, ambiguity, and incompleteness in use case specifications, an approach with template and restriction rules is often recommended to achieve better understandability of use cases and improves the quality of derived analysis models. However, when crosscutting concerns are...
متن کاملA Practical and Scalable Use Case Modeling Approach to Specify Crosscutting Concerns: Industrial Applications
Use case diagrams are commonly used to capture system requirements. Using template and restriction rules is a common feature of natural language analysis for reducing imprecision and incompleteness in use case specifications. Use case diagrams, together with template and restriction rules, form a use case modeling approach, which helps achieve better understandability of use cases and improved ...
متن کاملWeaving With Statecharts
Separation of Concerns separates requirements such as synchronization and scheduling from the core functionality of the software system. These requirements are often referred to as crosscutting concerns. The implementation of such requirements is scattered throughout the software system, which results in the code-tangling problem Aspect Oriented Programming provides the user with the ability to...
متن کاملAn Aspect-Oriented Modeling Framework for Designing Multi-Agent Systems
A number of concerns in multi-agent system (MAS) design have a crosscutting impact on agent-oriented models. These concerns inherently affect several system agents and their internal modeling elements, such as actions and goals. Examples of crosscutting concerns in MAS design encompass both internal and systemic properties, such as learning, mobility, error handling, and security. Without an ex...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2012